import type { ProColumns } from '@ant-design/pro-table';
export type columnsDataType = {};
const columnsData: ProColumns<columnsDataType>[] = [
  // 配置搜索框
  {
    title: '名称',
    dataIndex: 'name',
    hideInTable: true,
  },
  {
    title: '标识编码',
    dataIndex: 'key',
    hideInTable: true,
  },
  // 表头
  {
    title: 'ID',
    dataIndex: 'id',
    width: 200,
    hideInSearch: true,
  },
  {
    title: '名称',
    dataIndex: 'name',
    width: 120,
    hideInSearch: true,
  },
  {
    title: 'Key',
    dataIndex: 'key',
    width: 120,
    hideInSearch: true,
  },
  {
    title: '部署ID',
    width: 160,
    dataIndex: 'deploymentId',
    hideInSearch: true,
  },
  {
    title: '版本',
    dataIndex: 'version',
    width: 50,
    hideInSearch: true,
  },
  {
    title: '描述',
    dataIndex: 'description',
    width: 160,
    hideInSearch: true,
  },
  {
    title: '操作',
    dataIndex: 'action',
    fixed: 'right',
    hideInSearch: true,
    width: 60,
  },
];

export default columnsData;
